package cn.bd13.login.service.imp;


import cn.bd13.login.dao.UserDao;
import cn.bd13.login.entity.User;
import cn.bd13.login.service.Service;

import javax.annotation.Resource;


/**
 * ClassName：Serviceimp
 * Package:cn.kgc.bd13.bootlogin.service.imp
 * Description:
 *
 * @Date:2020/4/29 15:06
 * @Author:zhangqiang@kgc.cn
 */
@org.springframework.stereotype.Service
public class Serviceimp implements Service {
    @Resource
    private UserDao userDao;

    @Override
    public User login(String name) {
        return userDao.login(name);
    }


}
